Overload | Description |
---|---|
ThenPromise<TPromiseResult>(DNFunctionResult<TPromiseResult,TResult>,DNFunction<Exception>) | Adds succeeded and failed handlers for this promise and returns a new promise, which is fulfilled when this promise is fulfilled. |
ThenPromise<TPromiseResult>(DNFunctionResult<NPromise<TPromiseResult>,TResult>,DNFunction<Exception>) | Adds succeeded and failed handlers for this promise and returns a new promise, which is fulfilled when this promise is fulfilled. |
ThenPromise<TPromiseResult>() | Adds succeeded and failed handlers for this promise and returns a new promise, which is fulfilled when this promise is fulfilled. The TResult result of this promise is cast to the TPromiseResult in the resulting promise. |